home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 509 b | 26 lines | [TEXT/CWIE] |
- // HasVerticalJustification.h
-
- #ifndef HasVerticalJustification_h
- #define HasVerticalJustification_h
-
- class Justification;
-
- class HasVerticalJustification
- {
- private:
- const Justification *vertical;
-
- protected:
- virtual void VerticalJustificationChanged() = 0;
-
- public:
- HasVerticalJustification( const Justification& j )
- : vertical( &j )
- {}
-
- const Justification& VerticalJustification() const { return *vertical; }
- void SetVerticalJustification( const Justification& );
- };
-
- #endif
-